package homework4.com.zut.aspectj;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import homework4.com.zut.aop_proxy.UserService;

public class AspectjTest {
	public void test(String[] args) {
		ApplicationContext ac = new ClassPathXmlApplicationContext("aspectj_without_xml.xml");
		UserService userService = ac.getBean("userService", UserService.class);
		userService.addUser();
		userService.updateUser();
		userService.deleteUserById();
		userService.findUserById();
	}
}
	